home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1993 November
/
JCSM Shareware Collection - 1993-11.iso
/
cl560
/
helpr41j.lzh
/
DEMO2.HLS
< prev
next >
Wrap
Text File
|
1991-04-29
|
7KB
|
192 lines
!Rem ========================================================================
!Rem
!Rem DEMO2.hls Help file for use with DEMO2.pas, for Pascal programmers
!Rem --------------------------------------------------------
!Rem
!Rem ***** NOTE: You should do DEMO0.HLS and DEMO1.HLS
!Rem before you do this demo.
!Rem
!Rem Type Alt-R to compile and run this demo.
!Rem
!Rem This text file is similar to DEMO1.hls, with the addition of user-
!Rem defined functions which have been specifically designed to work with
!Rem the Turbo Pascal program DEMO2.PAS. Use The Helper to compile and run
!Rem this file and it will work correctly, but typing Enter on the user-
!Rem defined functions will just result in a message to say that a user
!Rem function has been activated. However, when you run DEMO2.PAS using your
!Rem Turbo Pascal compiler it will access the compiled help file and the
!Rem user-defined functions will work.
!Rem
!Rem =======================================================================
!!TextMem1="DEMO2"
!Category=1
!Window 12 5 64 18
!Colors 113 113 112 94 0 0 0 0
!Rem . Note the use of !!(-) to insert the text memory defined with
!Rem . !!TextMem1=.. and ~ to mark the highlighted phrases and where to
!Rem go when selected..
~(1,1) !!(TextMem1) - CONTENTS ~
=============================================
Use and <Enter> to select a topic.
Use F1 from anywhere to return to this menu.
How to use this Help........~(2,1) Help with Help ~
Demonstrate user functions..~(8,1) User functions ~
Enter DOS commands..........~(7,1) Dos ~
Animation demonstration.....~(Animate1,1) Animation ~
!Category=2 Help with Help
!Colors 113 113 112 94 0 0 0 0
!Window 12 3 66 22
Help with Help
===============
~C(120,0) The Help screens are interactive. If highlighted
options and a cursor bar are visible then move the
cursor over them and select one by pressing <Enter>.
General commands for using the Help screens are:
~C(0)
F1 - display Help Contents
Esc - quit Help and return to the program
,,Home,End - move cursor
a..z,A..Z - move cursor to the next highlight
containing (upper case) A to Z.
Enter - select topic under cursor
Backspace - skip backwards through previously
displayed topics
~C(120,0) PgDn for more...
!Page2
!Window 12 3 66 23
~C(120,0)
Some Help topics have several pages, indicated by
arrows in the top or bottom right-hand border. If
you see them scroll through the pages with these,
where ^ means press Ctrl with the indicated key:
~C(0)
PgUp - previous page in current topic
PgDn - next page " " "
^PgUp - first page " " "
^PgDn - last page " " "
~C(120,0) Some additional commands are:
~C(0)
~(3,1) F2 ~ - print some/all of the Help screens
~(4,1) F3 ~ - find a text string in the Help file
~(4,1) F4 ~ - repeat last find
~(5,1) Alt-F1..F10 ~ - Store this page
~(6,1) Ctrl-F1..F10 ~ - Restore stored page
!Category=3
!Window 12 5 66 20
F2 - Print the Help file
-------------------------
Press F2 to get the following options:
A to print all screens in the Help file
C " " the current Help category
P " " the current Help page only
L to set the number of lines per page
Press Esc to quit and return to the help screens.
Interrupt the printing by pressing any key.
!Category=4
!Window 12 5 66 23
F3,F4 - Find a text string in the Help file
---------------------------------------------
Press F3 to search through all pages of the Help
file for any text string. The page containing
that string will be displayed if it is found.
Then press F4 to find the next page containing
that string, or F3 to search for a new string.
The search not case-sensitive, and starts from
the current position in the Help file. Press F1
first to go to the top of the file if you need
a complete search. Do not try searching for
multiple characters such as -------- as these
are saved in compressed form on the disk.
!Category=5
!Window 12 5 66 19
Alt-F1..F10 - Store current page
-----------------------------------
There are 10 page memories available, so that you
can flip instantly to any pre-stored location in
the help file. Store the current page into one of
the memories by typing one of the function keys
F1 to F10 while holding down the Alt key. You can
then return instantly to that page at any future
time by typing the Ctrl-function key.
See ~(6,1) Ctrl-F1..F10 ~ for more.
!Category=6
Ctrl-F1..F10 - Goto stored page
----------------------------------
If a page has been stored into one of the 10
memories with ~(5,1) Alt-F1..F10 ~, it can be instantly
recalled by typing Ctrl-F1..F10.
eg. Store this page by typing Alt-F1. Then go to
the contents page with F1 (or anywhere else
in the help file) and type Ctrl-F1. If all
goes well you should be back here again.
!Category=7
!Window 15 8 63 18
!Colors 23 23 30 94 0 0 0 0
~C(19,0)DOS functions. Choose from:~C(0)
Directory listing...........~(Special,248) dir ~
Hidden DOS command..........~(Special,248)[dir] Show Directory ~
Read the file README.DOC....~(Special,249) readme ~
~(Special,250) Enter a DOS shell
!Category=8
!Window 12 4 69 22
!Colors 113 113 112 94 0 0 0 0
~C(116,112)┌────────────────────────────┐~C(0)
User functions ~C(116,112)│For Turbo Pascal programming│~C(0)
--------------- ~C(116,112)└────────────────────────────┘~C(0)
When using this help file with DEMO2.pas or DEMO2.exe
you can use hot-keys "A" and "C" at this or any other
screen in the Help file. Also note that F2 has been
suppressed, and does not activate the normal Print.
A = sound the bell
C = toggle category number display in window border
User-defined cursor options:
~(Special,1) Write random numbers
~(Special,160) Enter a filename to see if it exists
!Rem
!Rem --- The special ~(Special,[1..200]) commands are reserved for activating
!Rem ---- up to 200 separate user-defined functions within your Turbo Pascal
!Rem ---- program. HelpExitStr is a string variable which contains the
!Rem ---- code for the selected function. e.g. if Enter was pressed on the
!Rem ---- "Random Numbers" selection above, then HelpExitStr=#255#1 when
!Rem ---- exiting from the Help file to your program, so your program knows
!Rem ---- which user function is to be activated.
!Rem ----
!Rem ---- Also not that the ~(c,p)... is automatically closed at the end
!Rem ---- of the line, if there is no ~ to close it off before the end of line.
!Rem ----
!Rem ---- For more on these and other special ~ commands, type F1 for help
!Rem ---- and select "Commands" from the main menu and "~(#,#)...~" from
!Rem ---- the Commands menu.
!Rem
!include animate.hls (the animation demo, as an include file)
!end.